package com.qf.day11;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;



public class live {
    public static void main(String[] args) throws ParseException {
        Date date = new Date();
        String s = "1996-10-04 15:05:00";

        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        Date born = simpleDateFormat.parse(s);
    }
}
